#ifndef SCENE_H
#define SCENE_H
#include "../shapes/BasicShape.h"
#include <QSet>
#include <windows.h>
#include <gl/GL.h>

class Scene {
public:
	Scene();
	~Scene();
	void addShape(Shape* shape);
	GLfloat* createVertex();
	void reszie(int w,int h);
	int getVertexSize() {
		return vertexSize;
	}
	QSet<Shape*>* getMeshs() {
		return this->meshs;
	}
private:
	QSet<Shape*>* meshs = new QSet<Shape*>();
	GLfloat* vertex = new GLfloat[1];
	int vertexSize = 0;
	float width ;
	float height ;
};

#endif SCENE_H

